
#ifndef AUDIO_UTIL_HPP
#define AUDIO_UTIL_HPP

template <class T>
void SafeRelease(T* &pT)
{
	if (pT)
	{
		pT->Release();
		pT = NULL;
	}
}

extern void DumpAudioMediaType(IMFMediaType *media_type);

extern void EnumAllMediaTypes(IMFSourceReader *media_reader);

#endif
